import request from '@/utils/request'


//增加咨询附件
export function createArticleAttachment(data) {
  return request({
    url: '/nms/nmsArticleAttachment/save',
    method: 'post',
    data: data
  })
}
//删除咨询附件
export function deleteArticleAttachment(id) {
  return request({
    url: '/nms/nmsArticleAttachment/delete/'+id,
    method: 'get',
  })
}


//查询咨询附件
export function selectArticleAttachment(id) {
  return request({
    url: '/nms/nmsArticleAttachment/findById/'+id,
    method: 'get',
  })
}

//分页查询
export function findByPage(data) {
  return request({
    url: '/nms/nmsArticleAttachment/findByPage',
    method: 'post',
    data:data
  })
}
